package cn.ava.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
public class RefreshTokenDto {

    @NotBlank(message = "token不存在!")
    private String refreshToken;

    @NotBlank(message = "用户不存在!")
    private String username;


}
